package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author 曹畅
 * @version 1.0
 * @date 2020/8/11 10:58
 * 身份证识别状态
 */
@Getter
public enum BaiduImageStatusEnum {
    NORMAL("normal","识别正常"),
    REVERSED_SIDE("reversed_side", "身份证正反面颠倒"),
    NON_IDCARD("non_idcard", "上传的图片中不包含身份证"),
    BLURRED("blurred", "身份证模糊"),
    OTHER_TYPE_CARD("other_type_card", "其他类型证照"),
    OVER_EXPOSURE("over_exposure", "身份证关键字段反光或过曝"),
    OVER_DARK("over_dark", "身份证欠曝（亮度过低）"),
    UNKNOWN("other_type_card", "未知状态")
    ;

    private final String code;
    private final String desc;

    BaiduImageStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
